package com.cgt.xiaotao.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cgt.common.domain.dto.LoginFormDTO;
import com.cgt.common.domain.dto.LoginUserDTO;
import com.cgt.xiaotao.user.domain.dto.UserAddressDTO;
import com.cgt.xiaotao.user.domain.dto.UserDTO;
import com.cgt.xiaotao.user.domain.po.User;
import com.cgt.xiaotao.user.domain.query.UserQuery;
import com.cgt.xiaotao.user.domain.vo.UserVO;
import org.springframework.web.multipart.MultipartFile;

public interface IUserService extends IService<User> {
    UserVO queryUser();

    LoginUserDTO queryUserDetail(LoginFormDTO loginDTO, boolean isStaff);

    Long exchangeUserIdWithPhone(String phone);

    void updateAvatar(MultipartFile file);

    String test();

    void updateUser(UserQuery query);
}
